 export const deliverClickCallback = (eventType, params) => {
	let clickId =  params.clickid ? params.clickid:""
	if (clickId==""){
		return
	}
	const options = {
		url:"https://analytics.oceanengine.com/api/v2/conversion",
		header:{"content-type": "application/json"},
		method:"POST",
		data:{
			event_type:eventType,
			context:{
				ad:{
					callback:clickId
				}
			},
			timestamp:new Date().getTime()
		}
	}
	
	wx.request({
		...options,
		success(res){
			console.log("请求成功", res.data);
		},
		fail(res){
			console.log("请求失败", res.errMsg);
		},
		complete(res){ //请求结束回调
		        console.log("调用接口结束",res.data)
		}
	})
 }